/**
 * 文 件 名:  Channel.java
 * 版      权:  财之道  Copyright ©2011-2015 All Rights Reserved
 * 描      述:  
 */
package com.czd.support.model;

import java.io.Serializable;
import java.util.Date;

import org.apache.ibatis.type.Alias;

/**
 * @Description  栏目实体类
 * 
 * @Author  Jun.Yang
 * @Date    2015年1月5日 上午10:35:50
 * @Version v1.0
 */
@Alias("channel")
public class Channel implements Serializable {
	private static final long serialVersionUID = -8484493504322429381L;
	/**
	 * 自增主键
	 */
	private int id;
	/**
	 * 栏目名称
	 */
	private String name;
	/**
	 * 访问路径
	 */
	private String channelPath;
	/**
	 * 是否有内容（0：没有内容：1：表示有）
	 */
	private int hasContent;
	/**
	 * 栏目编号
	 */
	private String code;
	/**
	 * 栏目树父级节点code
	 */
	private String level;
	/**
	 * 是否显示（0：不显示；1：显示）
	 */
	private int isDisplay;
	/**
	 * 排序
	 */
	private int priority;
	/**
	 * 创建人
	 */
	private int createUser;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 修改人
	 */
	private int updateUser;
	/**
	 * 修改时间
	 */
	private Date updateTime;
	/**
	 * 是否有子栏目（0：没有；1：有）
	 */
	private int child;
	/**
	 * 站点Id
	 */
	private int siteId;
	/**
	 * 新闻分类类别
	 */
	private String categoryCode;
	/**
	 * 是否是单页
	 */
	private int isAlone;
	
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the channelPath
	 */
	public String getChannelPath() {
		return channelPath;
	}
	/**
	 * @param channelPath the channelPath to set
	 */
	public void setChannelPath(String channelPath) {
		this.channelPath = channelPath;
	}
	/**
	 * @return the hasContent
	 */
	public int getHasContent() {
		return hasContent;
	}
	/**
	 * @param hasContent the hasContent to set
	 */
	public void setHasContent(int hasContent) {
		this.hasContent = hasContent;
	}
	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}
	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * @return the level
	 */
	public String getLevel() {
		return level;
	}
	/**
	 * @param level the level to set
	 */
	public void setLevel(String level) {
		this.level = level;
	}
	/**
	 * @return the isDisplay
	 */
	public int getIsDisplay() {
		return isDisplay;
	}
	/**
	 * @param isDisplay the isDisplay to set
	 */
	public void setIsDisplay(int isDisplay) {
		this.isDisplay = isDisplay;
	}
	/**
	 * @return the priority
	 */
	public int getPriority() {
		return priority;
	}
	/**
	 * @param priority the priority to set
	 */
	public void setPriority(int priority) {
		this.priority = priority;
	}
	/**
	 * @return the createUser
	 */
	public int getCreateUser() {
		return createUser;
	}
	/**
	 * @param createUser the createUser to set
	 */
	public void setCreateUser(int createUser) {
		this.createUser = createUser;
	}
	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * @return the updateUser
	 */
	public int getUpdateUser() {
		return updateUser;
	}
	/**
	 * @param updateUser the updateUser to set
	 */
	public void setUpdateUser(int updateUser) {
		this.updateUser = updateUser;
	}
	/**
	 * @return the updateTime
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	/**
	 * @param updateTime the updateTime to set
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public int getChild() {
		return child;
	}
	public void setChild(int child) {
		this.child = child;
	}
	public int getSiteId() {
		return siteId;
	}
	public void setSiteId(int siteId) {
		this.siteId = siteId;
	}
	public String getCategoryCode() {
		return categoryCode;
	}
	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}
	public int getIsAlone() {
		return isAlone;
	}
	public void setIsAlone(int isAlone) {
		this.isAlone = isAlone;
	}
	@Override
	public String toString() {
		return "Channel [id=" + id + ", name=" + name + ", channelPath="
				+ channelPath + ", hasContent=" + hasContent + ", code=" + code
				+ ", level=" + level + ", isDisplay=" + isDisplay
				+ ", priority=" + priority + ", createUser=" + createUser
				+ ", createTime=" + createTime + ", updateUser=" + updateUser
				+ ", updateTime=" + updateTime + ", child=" + child
				+ ", siteId=" + siteId + "]";
	}
}
